<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>每日复盘</title>
</head>

<body>
<h3 style="text-align: center; margin: 20px 0;"><%= @date[0..3] %>年<%= @date[4..5] %>月<%= @date[6..7] %>日复盘</h3>
  <div class="title">综述</div>
  <div class="main-text"><%= @fpzj %></div>
  <div class="title">板块核心</div>
  <div class="main-text"><%= @ggbx %></div>
  <div class="title">国内重大新闻</div>
  <% @gnzdsj.each do |gnzdsj| %>
    <div main-text><%= gnzdsj %></div>
  <% end %>
  <div class="title">国际重大新闻</div>
  <% @gjzdsj.each do |gjzdsj| %>
    <div main-text><%= gjzdsj %></div>
  <% end %>
<style>
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 20px;
    background-color: #f9f9f9;
  }

  .title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #333;
  }

  .main-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
  }

</style>




</body>

</html>
